﻿@model MVC_basic.Models.User

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Apps</title>
    <script src="@Url.Content("~/Scripts/jquery-1.7.1.min.js")"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")"></script>
    @Styles.Render("~/Content/css/foundation.css")
    @Styles.Render("~/Content/css")
</head>
<body>
    <div class="row">
        <h1 class="subheader">@Html.ActionLink("Apps", "Index")</h1>
        @using (Html.BeginForm()) {
            @Html.ValidationSummary(true)

            <fieldset>
                <legend>Register</legend>
                <div class="row">
                    <div class="large-4 columns">
                        @Html.LabelFor(model => model.username)
                        @Html.EditorFor(model => model.username)
                        @Html.ValidationMessageFor(model => model.username)
                    </div>
                </div>
                <div class="row">
                <div class="large-4 columns">
                    @Html.LabelFor(model => model.password)
                    @Html.EditorFor(model => model.password)
                    @Html.ValidationMessageFor(model => model.password)
                </div>
                    </div>
                <div class="row">
                <div class="large-4 columns">
                    @Html.LabelFor(model => model.email)
                    @Html.EditorFor(model => model.email)
                    @Html.ValidationMessageFor(model => model.email)
                </div>
                    </div>
                <div class="row">
                <div class="large-4 columns">
                    @Html.LabelFor(model => model.picUrl)
                    @Html.EditorFor(model => model.picUrl)
                    @Html.ValidationMessageFor(model => model.picUrl)
                </div>
                    </div>
                <br />
                <p>
                    <input type="submit" value="Register" />
                </p>

            </fieldset>
        }
    </div>
</body>
</html>
